﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DALEntities;
using System.Runtime.Serialization;

namespace MapEntities
{
    [Serializable]
    public abstract class BaseBindingRule
    {
        public ViewRequest Request { get; set; }
        public string KeyField { get; set; }

        public BaseBindingRule()
        {
            Request = new ViewRequest();
        }
    }

    [Serializable]
    public class ListingBindingRule : BaseBindingRule
    {
    }

    [Serializable]
    public class ItemBindingRule : BaseBindingRule
    {
        public string ValueField { get; set; }
    }


}
